MenuDetail = function() {
	return {
		
	};
}();

$(function(){
	$("#parentId").combotree({
		url           : '/pc/menu/comboTree.htm',
		editable      : false,
		required      : true,
		onLoadSuccess : function() {
			$("#parentId").combotree('setValue', $("#parentMenuId").val());
			$("#parentId").combotree('disable', true);
		}
	});
	
	$("#company").combotree({
		url           : '/pc/company/tree.htm',
		editable      : false,
		required      : true,
		idField       : 'id',
		treeField     : 'text',
		onLoadSuccess : function() {
			$("#company").combotree('setValue', $("#companyId").val());
			$("#company").combotree('disable', true);
		}
	});
	
	$("#status").combobox({
		editable      : false,
		required      : true,
		panelHeight   : 'auto',
		onLoadSuccess : function() {
			$("#status").combotree('disable', true);
		}
	});
});